package com.lxw.manage_cms.service;

import com.lxw.framework.domain.cms.CmsPage;
import com.lxw.framework.domain.cms.request.QueryPageRequest;
import com.lxw.framework.domain.course.response.CmsPostPageResult;
import org.springframework.data.domain.Page;

public interface ICmsPageService {
    Page<CmsPage> findList(Integer page, Integer pageSize, QueryPageRequest qpr);

    CmsPage save(CmsPage cmsPage);

    CmsPage findById(String pageId);

    void edit(String pageId, CmsPage cmsPage);

    void delById(String pageId);

    String preview(String pageId);

    void postPage(String pageId);

    CmsPostPageResult postPageQuick(CmsPage cmsPage);
}
